package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2020-04-21
 */
@TableName("t_quanzi")
public class Quanzi extends Model<Quanzi> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 圈子名称
     */
	private String name;
    /**
     * 圈子头像
     */
	private String pic;
    /**
     * 圈子备注
     */
	private String remark;
    /**
     * 发起人
     */
	private String faqiren;
	private String wxno;
	private String wximg;
    /**
     * 是否公开进入
     */
	private Integer isgongkai;
    /**
     * 状态
     */
	private Integer state;
    /**
     * 人数
     */
	private Integer num;
	private Long mpid;
	private Long creator;
	private Long modifier;
	private Date createtime;
	private Date modifytime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getFaqiren() {
		return faqiren;
	}

	public void setFaqiren(String faqiren) {
		this.faqiren = faqiren;
	}

	public String getWxno() {
		return wxno;
	}

	public void setWxno(String wxno) {
		this.wxno = wxno;
	}

	public String getWximg() {
		return wximg;
	}

	public void setWximg(String wximg) {
		this.wximg = wximg;
	}

	public Integer getIsgongkai() {
		return isgongkai;
	}

	public void setIsgongkai(Integer isgongkai) {
		this.isgongkai = isgongkai;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Quanzi{" +
			"id=" + id +
			", name=" + name +
			", pic=" + pic +
			", remark=" + remark +
			", faqiren=" + faqiren +
			", isgongkai=" + isgongkai +
			", state=" + state +
			", num=" + num +
			", creator=" + creator +
			", createtime=" + createtime +
			", modifytime=" + modifytime +
			"}";
	}
}
